package MtG.publicClass.messages;

import MtG.publicClass.Message;
import MtG.publicClass.Player;

/**
 * EndTurn.java is a class for creating a message about whose turn started when the previous turn ends.
 * @author Marek Sirp
 * @author Jaan Sepp
 */
public class EndTurn extends Message{
	
	/**
	 * Determines if a de-serialized file is compatible with this class.
	 */
	private static final long serialVersionUID = 56858278852462008L;

	/**
	 * Constructor.
	 * @param newPlayer player whose turn began.
	 */
	public EndTurn(Player newPlayer){
		setMessage(newPlayer.getName() + " is on turn now");
	}

}
